#ifndef _MENU_SDL
#define _MENU_SDL

#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include "AffichageSDL.h"




typedef struct
{
	SDL_Surface* surfaceEcran;
    SDL_Surface* surfaceLogo;
    SDL_Surface* imageDeFondMenu;
    SDL_Surface* imageDeFondAide1;
    SDL_Surface* imageDeFondAide2;
    SDL_Surface* surfaceCredit1;
    SDL_Surface* surfaceCredit2;

	SDL_Surface* surfaceChoix1;
	SDL_Surface* surfaceChoix2;
	SDL_Surface* surfaceChoix3;
	SDL_Surface* surfaceChoix4;
	SDL_Surface* surfaceChoix5;

	SDL_Surface* surfacePauseChoix1;
    SDL_Surface* surfacePauseChoix2;
    SDL_Surface* surfacePauseChoix3;

    SDL_Surface* surfacePresentation1;
    SDL_Surface* surfacePresentation2;
    SDL_Surface* surfacePresentation3;

	SDL_Surface* surfaceRetour;

} sdlMenu;

void sdlMenuInit(sdlMenu *menu);
void sdlMenuLibere(sdlMenu *menu);
void sdlMenuAff(sdlMenu *menu);
//void sdlMenuPauseAff(sdlMenu *menu);
void sdlLogoJeu(sdlMenu *menu);
void sdlMenuBoucle(sdlMenu *menu,int *pointX,int *pointY,int *movX,int *movY);
void sdlMenuBouclePause(sdlMenu *menu,int *pointX,int *pointY,int *movX,int *movY);
void SDL_appliquer_surfaceMenu( SDL_Surface* source, SDL_Surface* destination, int x, int y );
SDL_Surface *SDL_charger_imageMenu(const char* nomfichier);


#endif
